@mixin shadowbox {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-radius: 20rpx;
  background: white;
}

.page {
  background: white;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 16px;

  .header {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    margin-bottom: 16px;
  }

  .areacontent {
    width: 100%;
    height: auto;
    margin: 16px auto;
    box-sizing: border-box;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 20rpx;
    background: white;
    font-size: 16px;
    color: #333333;
    font-weight: 600;
    .textarea {
      margin-top: 10px;
      margin-bottom: 6px;
    }
  }

  .btn_group {
    width: 100%;
    height: auto;
    margin: 16px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .tran {
      width: 42%;
      background-color: rgb(59 130 246 / 0.9);
      padding: 16px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      border-radius: 20px;
      font-size: 18px;
    }
    .clear {
      background-color: rgb(209 213 219 / 1);
      width: 42%;
      padding: 16px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 20px;
      font-size: 18px;
    }
  }

  .resultbox {
    width: 100%;
    height: auto;
    margin: 16px auto;
    box-sizing: border-box;
    padding: 16px;
    @include shadowbox;
    .title {
      text-align: center;
      font-size: 16px;
      color: #333333;
      font-weight: 600;
      margin-bottom: 12rpx;
    }
    .box {
      box-sizing: border-box;
      width: 100%;
      height: 200rpx;
      overflow-y: scroll;
      background-color: rgb(249 250 251 / 1);
      border: 2rpx solid;
      border-color: rgb(209 213 219 / 1);
      border-radius: 12rpx;
      padding: 12rpx;
    }
  }

  .copybtn {
    width: 90%;
    margin: 16px auto;
    background-color: rgb(59 130 246 / 0.9);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 20px;
    font-size: 18px;
  }
}
